home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / sputls.zip / STRIPSTR.DOC < prev    next >
Text File  |  1991-01-06  |  2KB  |  68 lines

  1. Strip String   version 1.1 (C) SPETER SOFTWARE,   January 1991.
  2.  
  3. This program will strip the specified string from the given input file and 
  4. write the result to the given output file.
  5.  
  6. The program was written in Borland's Turbo Pascal 5.5
  7.  
  8. Usage:
  9. ------
  10. 1:   STRIPSTR [/h]
  11.  
  12.         Output a help screen.
  13.           /h       (optional)
  14.  
  15. 2:   STRIPSTR /s<string>  in-file out-file
  16.  
  17.         Read the contents of the input file "in-file", delete any occurrences
  18.         of the specified string, write the result to the output file.
  19.           /s<string>            "string" one word or more words (which can be
  20.                                 enclosed in quotes);
  21.           in-file               an existing file (name can include a path);
  22.                                 lines in the file must be less than 256 
  23.                                 characters long;
  24.           out-file              must be an valid DOS file-name (can include a
  25.                                 path).
  26.  
  27. 3:   STRIPSTR /a<ascii values> in-file out-file
  28.  
  29.         Read the contents of the input file "in-file", delete any occurrences
  30.         of the specified string, write the result to the output file.
  31.             /a<ascii>           string made up of the listed ASCII values.
  32.  
  33.           NOTE:     the name of the input file (in-file) can not start with a
  34.                     character between 0 & 9.
  35.  
  36. Examples:
  37. ---------
  38. 1:   stripstr /shello infile outfile
  39.  
  40. Deletes every occurrence of the string "hello" from "infile" and writes the
  41. result in "outfile".
  42.  
  43. 2:   stripstr /s"hello there" infile outfile
  44.  
  45. Deletes every occurrence of the string "hello there" from "infile" and writes
  46. the result in "outfile".
  47.  
  48. 3:  stripstr /a13 13 10 infile outfile
  49.  
  50. Deletes the 3 char string made up of ASCII 13+13+10 from "infile" and writes
  51. the result in "outfile".
  52.  
  53. Correspondence:
  54. ---------------
  55.     Please address any comments to:
  56.  
  57.         Stephen Peter
  58.  
  59.     INTERNET:
  60.         steve@cad0.arch.unsw.oz.au
  61.  
  62.     POST:
  63.         SPETER SOFTWARE
  64.         P.O. BOX 643
  65.         LANE COVE
  66.         NSW  2066
  67.         AUSTRALIA
  68.